package com.hanamaki.struct;

public class ForDemo08 {
    public static void main(String[] args) {


        /* 数组*/
        int[] num = {1, 2, 3, 4, 5, 6, 7, 8, 9};
        for (int i = 0; i < 9; i++) {
            System.out.println(num[i]);
        }

        for (int i : num) {
            System.out.println(i);
        }

    }
}
